FROM openjdk:21

ENV JAVA_OPTS="-Duser.timezone=GMT+08 -Xms1G -Xmx1G"

ADD *.jar /httpClientCore.jar

ENTRYPOINT ["sh","-c","java -Dspring.profiles.active=dev -jar $JAVA_OPTS /httpClientCore.jar"]